$OpenBSD: patch-configure_in,v 1.5 2006/01/03 09:10:54 espie Exp $
--- configure.in.orig	Sun Nov 20 20:54:54 2005
+++ configure.in	Fri Dec 30 16:43:14 2005
@@ -911,7 +911,7 @@ AC_DEFUN([AC_GSL_REQUIREMENTS],
           [KDE_CHECK_HEADER(vorbis/vorbisfile.h, ov_headers=`expr $ov_headers + 1`)]
           [KDE_CHECK_HEADER(vorbis/vorbisenc.h, ov_headers=`expr $ov_headers + 1`)]
           ,
-          ov_headers=0, -lvorbisenc -lvorbis -logg)
+          ov_headers=0, -lvorbisenc -lvorbis -logg -lm)
         if test $ov_headers = 3 ; then
           GSL_LIBS="$GSL_LIBS -lvorbisfile -lvorbisenc -lvorbis -logg"
           GSL_HAVE_OGGVORBIS=1
